home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / mus / edit / OctaMEDv4.lha / Docs / Commands next >
Text File  |  1994-03-22  |  16KB  |  439 lines

  1. OCTAMED-PRO COMMANDS AND EFFECTS:
  2.  
  3. OctaMED-Pro commands provide the details and effects necessary for more subtle and sophisticated music.  In general, commands accomplish this by affecting the way notes play.
  4. Some commands can be used to control sampled sounds and MIDI devices and others work only with sampled sound.  The effect of the command can be quite different depending on the type of sound it is controlling.
  5.  
  6. A command is an extension to the basic note description and it is often, but not always, on the same line as the note it affects.  Insert commands into the song from the BLOCK EDITOR using the same techniques for entering notes.  Entering the commands may
  7.  
  8. Below is an example of a single note from a song.  The first two characters, C and #, are the note name, C sharp. The first two digits, 2 and 1, mean that the C# will be played at octave 2 by instrument 01.  If you have worked with any earlier versions th
  9.  
  10.              Instrument numbers
  11.               | |
  12. Note name     | | Command Numbers
  13.         |     | | | |
  14.         C # 2 1 A 1 4 3 7
  15.             |         | |
  16.         Octave       Command arguments
  17.  
  18. This section concerns the remaining four digits, 1, 4, 3, and 7.  The first two digits in this example, the 1 and 4, are the command number.  It instructs OctaMED-Pro to alter the normal way of playing the sound.  The next two digits,3 & 7, are the argume
  19.  
  20.                                   102
  21. SONG AND SAMPLED INSTRUMENT COMMANDS:
  22.  
  23. ARPEGGIO 00
  24. Changes the pitch six times between three different pitches during the duration of the note.  It can create a chord sound  or other special effect. Arpeggio works better with some instruments than others.
  25.  
  26. The first pitch is the original note.
  27. The second pitch is the original note raised by the number of half steps indicated by the left part of the argument.
  28. The third pitch is the original note raised by the number of half steps indicated by the right part of the argument.
  29.  
  30. For example, suppose you want to make a C Major chord arpeggio.  A C Major chord uses three notes of the scale, C, E, and G.
  31.  
  32. The root pitch is C.
  33. The second is E   (C, C#, D, D#, E, 4 half steps from C.)
  34. The third is G    (C, C#, D, D#, E, F, F#, G, 7 half steps from C.)
  35.  
  36. The argument then is 47.  Enter the four into the left side of the argument, and seven into the right.  You can extend the effect by entering the argument on subsequent lines, as shown below.
  37.  
  38. C-2  10047
  39. ---  00047
  40. ---  00047
  41.  
  42. The left and right parts of the argument for a minor chord are 3 and 7.
  43.  
  44. SLIDE UP 01
  45. This slides the pitch of the current track up.  It decreases the period of the note by the amount of the argument on each timing pulse.  OctaMED-Pro can create slides automatically, but you may want to use this function for special effects.  Experiment wi
  46.  
  47. C-2  10000
  48. ---  00000
  49. ---  0010F slide up a small amount
  50.  
  51.                                   103
  52. SLIDE DOWN 02
  53. The same as SLIDE UP, but it slides down.
  54.  
  55. PORTAMENTO 03
  56. Makes precise sliding easy.
  57.  
  58. C-2  10000  <---Play a note C
  59. ---  00000
  60. E-2  10305  <---This note is not played. It sets the slide target
  61. ---  00300      to E and the slide speed to 5.
  62. ---  00300  <---When speed is zero, it uses the previous speed.
  63. ---  00306  <---The speed can be changed, of course.
  64.  
  65. This example would slide from C to E, and stop immediately when E is reached. The remaining 3's have no effect.
  66.  
  67. Usually slides are easiest done with the automatic slide generator.
  68.  
  69. VIBRATO 04
  70. The left half of the argument is the vibrato speed, the right half is the depth.  If the numbers are zeros, the previous speed and depth are used.
  71.  
  72. C-2  10000
  73. ---  00000
  74. ---  00433 slow, not much depth
  75. ---  00437 medium depth
  76. ---  0043F full depth
  77. ---  00482 fast, not very deep
  78.  
  79. SLIDE + FADE 05
  80. ProTracker compatible.
  81. This command is the combination of commands 0300 and 0Dxx. The argument is the fade speed. The slide will continue during this command.
  82.  
  83. C-1  10000
  84. D-3  10303 slide at speed of 3
  85. ---  00300 continue slide
  86. ---  00502 continue slide + fade speed 2
  87. ---  00502
  88.  
  89.                                   104                                 
  90. VIBRATO + FADE 06
  91. ProTracker compatible.
  92. Combines commands 0400 and 0Dxx.  The argument is the fade speed.  The vibrato will continue during this command.
  93.  
  94. C-1  104A3 vibrato
  95. ---  00400 cont. vibrato
  96. ---  00603 cont. vibrato + fade speed 3
  97. ---  00603
  98.  
  99. TREMOLO 07
  100. ProTracker compatible.
  101. This command is a kind of "volume vibrato".  The left number is the speed of the tremolo, and the right one is the depth. The depth must be quite high before the effect is audible.
  102.  
  103. D-2  107DF  tremolo
  104. ---  00700  continue
  105. ---  00700
  106.  
  107. HOLD and DECAY 08
  108. This command must be on the same line as the note.  The left half of the argument determines the decay and the right half the hold.
  109.  
  110. C-2  10824  decay = 2, hold = 4
  111. -|-  10000
  112. -|-  10000
  113. ---  00000
  114.  
  115. SECONDARY TEMPO 09
  116. This sets the secondary tempo (the number of timing pulses per note). The argument must be from 01 to 20.
  117.  
  118. --- 00903   double tempo
  119. --- 00000
  120.  
  121. POSITION JUMP 0B
  122. The song plays up to this command and then jumps to another position in the play sequence.  The song then loops from the point jumped to, to the end of the song forever.  The purpose is to allow for introductions that play only once.
  123.                                   105
  124. The jump is to the play sequence number in the argument.  If the argument is 00, then the play sequence jumps to the first entry.
  125.  
  126. --- 00B02   start playing from play sequence number 3
  127.  
  128. SET VOLUME 0C
  129. Overrides the default volume of an instrument.
  130.  
  131. A-3 40C20  played at volume 20
  132.  
  133. Volume levels are 0-64.  The argument can be 00-64 (decimal) or 00 to 40 (hex).  The DEC and HEX gadgets on the PLAY PANEL control the interpretation of the volume values.
  134.  
  135. You can change the volume of notes already played:
  136.  
  137. A-3 40000
  138. --- 00000
  139. --- 00C10  volume to 10
  140.  
  141. VOLUME SLIDE 0D
  142. Smoothly slides the volume up or down.  The left half of the argument increases the volume.  The right decreases it.
  143.  
  144. C-3 30D01  0 = crescendo, 1 = decrescendo
  145.  
  146. If the crescendo value is zero the player will perform a decrescendo.  If the crescendo is not zero, only a crescendo is performed regardless of the decrecendo value.
  147.  
  148. C-2 30C40
  149. --- 00D01   a little quieter
  150. --- 00D01   even more quiet
  151. --- 00D20   and crescendo back to original
  152.  
  153. You could use Command C, but it is not as smooth.
  154.  
  155. SYNTH JUMP 0E
  156. When used with synthetic or hybrid instruments,it triggers a jump in the Waveform Sequence List.The argument is the jump destination (line no).
  157.  
  158.                                   106
  159. C-4 40000   this should be a synthetic or hybrid instrument
  160. --- 00000
  161. --- 00E05   cause a jump to line # 5
  162.  
  163. MISCELLANEOUS 0F
  164. The effect depends upon the value of the argument.
  165.  
  166. If the argument is zero (00), this command causes an immediate jump to the next block on the Playing Sequence List.  If there is only one block, it will jump to the beginning of the current block.  Usually, this is better done by making the block shorter 
  167.  
  168. C-2 10F00 this is the last note that will play in this block
  169.  
  170. When the argument is from 01 to F0, it changes the Primary Tempo.  Tempos between 01 and 0A, are compatible with SoundTrackers.  You should, however, use the Command 09 for more accurate compatibility (set the Primary Tempo to 33 in that case).
  171.  
  172. C-2 60FF0  highest tempo
  173. --- 00000
  174. --- 00F0B  slowest
  175.  
  176. Data bytes from FF1 to FFF produce effects documented below:
  177.  
  178. FF1 plays the note twice.  It can create fast rhythms.  For example:
  179.  
  180. C-3 20FF1   is the same as   C-3 20000
  181.                              C-3 20000
  182.  
  183. FF2 plays the note only once, but it is not started immediately.  For example:
  184.  
  185. C-3 20FF2   is the same as   --- 00000
  186.                              C-3 20000
  187.  
  188. (both of the above commands assume a Secondary Tempo of 6)
  189.  
  190. FF3 plays the note three times (very fast).
  191.  
  192.                                   107
  193.  
  194. FF8 turns the low-pass filter off.
  195.  
  196. FF9 turns the low-pass filter on.
  197.  
  198. FFD works only with sampled sounds.  It changes the pitch of the channel, but does not play the new note.
  199.  
  200. C-1 20000   play note
  201. --- 00000
  202. C-2 20FFD  do not play note, just set the pitch to C-2
  203.  
  204. This command is practically the same as 3FF.
  205.  
  206. FFE stops playing the song.  If you want a song to play only once, put this at the end of the song.  This can be easily entered by clicking the STOP button on the PLAY PANEL while holding the Shift key.
  207.  
  208. FFF Stops the note on the current track.  It is nearly identical to C00 for sampled sounds, but also works with MIDI.  It is useful in the Split Channel Mode.
  209.  
  210. SLIDE PITCH UP (only once) 11
  211. Equivalent to ProTracker command E1x.
  212. Lets you control the pitch with great accuracy.  This command changes only this occurrence of the note.
  213.  
  214. C-2 11105  slightly above the C-2
  215.  
  216. You can play a note at any period value you wish.  For example, C-2 is 428.  To play it at period 431, just enter:
  217.  
  218. C-2 11103.
  219.  
  220. SLIDE DOWN (only once) 12
  221. Equivalent to ProTracker command E2x.
  222.  
  223. VIBRATO 14
  224. ProTracker compatible.  This is similar to command 04 except the depth is halved, to give greater accuracy.
  225.  
  226.                                   108                                 
  227. SET FINETUNE 15
  228. Set a finetune value for a note, overrides the default fine tune value of the instrument.
  229.  
  230. C#3 21503 finetune +3
  231. D-2 315F8 finetune -8
  232.  
  233. Since these are hex numbers, negative numbers must be expressed as:
  234.  
  235. -1 = FF     -5 = FB
  236. -2 = FE     -6 = FA
  237. -3 = FD     -7 = F9
  238. -4 = FC     -8 = F8
  239.  
  240. Only values F8 (-8) to FF (-1) and 00 to 07 should be used.
  241.  
  242. LOOP 16
  243. Creates a loop within a block.  1600 marks the beginning of the loop.  The next occurrence of the 16 command designates the number of loops.
  244. Same as ProTracker E6x
  245.  
  246. 004 C-3 11600   argument = 00  mark loop begin
  247. 005 D#2 10000
  248. 006 --- 11603   argument = 03  loop three times
  249.  
  250. This example would loop lines 004-006 three times before going on.  You cannot nest loops.
  251.  
  252. STOP NOTE 18
  253. Cuts the note by zeroing the volume at the pulse specified in the argument value.  This is the same as ProTracker command ECx
  254. This is done by setting the volume to zero (unlike command 08, which actually turns off the note by turning off DMA).  This also works with MIDI.
  255.  
  256. C-2 11801 very short
  257. D-2 11802 slightly longer
  258. E-2 11804 even longer
  259.  
  260.  
  261.  
  262.                                   109
  263. SET SAMPLE START OFFSET 19
  264. Same as ProTracker command 9.
  265. When playing a sample, this command sets the starting offset (at steps of $100 = 256 bytes).  Useful for speech samples.
  266.  
  267. C-2 11904 play the sample starting at offset $400 = 1024
  268.  
  269. SLIDE VOLUME UP ONCE 1A
  270. Only once ProTracker command EAx.
  271. Lets volume slide slowly once per line.
  272.  
  273. D-2 11A01   a looped string, perhaps, default volume 0
  274. --- 01A01
  275.  
  276. VOLUME DOWN  Only once ProTracker command EBx.
  277.  
  278. JUMP TO NEXT BLOCK 1D
  279. Jumps to the nest line in the PLAY SEQUENCE LIST at the specified line. ProTracker command D
  280. This command is like F00, except that you can specify the line number of the first line to be played.  The line number must be specified in HEX.
  281.  
  282. --- 01D03  next block, start on line 3
  283.  
  284. PLAY LINE x TIMES 1E
  285. Plays only commands, notes not replayed. ProTracker pattern delay.
  286.  
  287. C-2 10000--- 00000
  288. --- 00101--- 01E06  delay this line six times
  289.  
  290. COMBINED NOTE DELAY-RETRIGGER 1F
  291. 1Fxy (x=delay, y=retrigger.
  292. Gives accurate control of notes. You can delay the note any number of timing pulses, and initiate fast retrigger.  The left argument number is the note delay value, the right one is the retrigger value.
  293.  
  294. C-2 11F20   delay 2 timing pulses
  295. pulse   0   ---
  296.         1   ---
  297.         2   C-2
  298.         3   ---
  299.                                   110
  300. C-2 11F02   retrigger every second pulse
  301. pulse   0   C-2
  302.         1   ---
  303.         2   C-2
  304.         3   ---
  305.         4   C-2
  306.  
  307. C-2 11F22    delay 2 pulses AND retrigger every second pulse
  308. pulse   0   ---
  309.         1   ---
  310.         2   C-2
  311.         3   ---
  312.         4   C-2
  313.  
  314. he command 0FF1 is equivalent to 1F03, and 0FF2 to 1F30.
  315.  
  316.  
  317. MIDI COMMANDS:
  318.  
  319. CONTROLLER VALUE 00
  320. See Command 05 for a description of use.
  321.  
  322. PITCH BENDER UP 01
  323. Turns up the pitch bender 8 times the argument steps on each timing pulse. Because the ranges of pitch benders differ with various MIDI devices, you must find the values through experimentation.  Also, when a new note is played, the pitch bender is not au
  324.  
  325. C-2 101FF   turn the pitch bender up very fast
  326. --- 00000
  327. --- 00100  reset the pitch bender
  328.  
  329. PITCH BENDER DOWN 02
  330. The same as previous command, but it slides down.
  331.  
  332. SET PITCH BENDER 03
  333. Sets the pitch bender to an absolute value, instead of sliding as Commands 01 and 02 do.  The argument is the pitch bender value, expressed as a signed hexadecimal digit (a nightmare for non-programmers).
  334.                                   111
  335. 80 (-7F) = smallest value
  336.       00 = center position
  337.       7F = largest value
  338.  
  339. C-2 30000
  340. --- 0037F  pitch bender to max. value
  341. --- 00300  reset
  342.  
  343. MODULATION WHEEL 04
  344. Affects the modulation wheel on the current channel.  The argument can be from 00 to 7F.
  345.  
  346. 00 = no modulation
  347. 7F = maximum.  Values 80 to FF are not used.
  348.  
  349. CONTROLLER NUMBER 05
  350. This is used with Command 0 to change any controller (MIDI command B x cc vv, where cc = controller number, vv = value).
  351.  
  352. Set the controller number you want to change with Command 5.  Then, select the value with Command 0.  Subsequent uses of Command 0 will affect the controller previously set with Command 5.  Each channel has its own controller number.  If you want to set t
  353.  
  354. Assume instrument 03 is set to MIDI channel 1:
  355.  
  356. C-2 30000
  357. --- 00507  controller 07, volume (MIDI standard)
  358. D-2 3007F  value is 7F, command B0 07 7F is sent
  359. --- 00000
  360. F-3 30001  low volume (01)
  361. --- 0055C  select controller 5C (tremolo depth)
  362. G-4 30080  set to 0 (note: 80 = 00 )
  363.  
  364. HOLD 08    This command must be on the same line as the note. The right half of the argument determines the hold value.  This will works equally well with sampled sounds, except decay is ignored.
  365.  
  366.                                   112                                 
  367.  
  368.                                  
  369.  
  370. SEND MIDI A MESSAGE 10
  371. Sends a MIDI message. The argument is the message number.  The first message has number 0, so you must subtract one to convert the message number from the message editor for use with this command.
  372.  
  373. --- 01000 send the first message
  374.  
  375. The MIDI message data has priority over the MIDI note data.  MIDI timing pulses are sent immediately even if a message dump is going on.
  376.  
  377. POLYPHONIC AFTERTOUCH 0A
  378. Changes the polyphonic AfterTouch for the most recent note.  The value should be 00 to 7F.
  379.  
  380. C-3 40000
  381. --- 00A30  AfterTouch 30
  382. --- 00000
  383. --- 00A00  AfterTouch 00
  384.  
  385. NOTE VELOCITY 0C
  386. Overrides the default velocity (volume) of an instrument. This command must appear on the same line with a note.
  387.  
  388. A-3 40C20  played at volume 20
  389.  
  390. This command accepts an argument similar to Command 0C for sampled sounds (see above). The volume range of 0-64 is converted to the velocity range of 0-127.
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.                                   113
  402.  
  403.  
  404.  
  405. CHANNEL PRESSURE 0D
  406.  
  407. Sends a channel pressure (channel AfterTouch) message using the most recently used channel.  The argument should be 00 to 7F.
  408.  
  409. D#5 J0000
  410. --- 00D40  channel AfterTouch 40
  411. --- 00D00  to 00
  412.  
  413. PAN CONTROL 0E
  414. Controls the stereo location of the sound.  The argument can be from 00 to 7F.
  415.  
  416. +-----+------+--------+
  417. |left |  mid |  right |
  418. +-----+------+--------+
  419. |  00 |   3F |   7F   |
  420. +-----+------+--------+
  421.  
  422. MISCELLANEOUS 0F
  423. This command also has some effects for MIDI use only, in addition to those defined in the section "Song and sampled instrument commands" above.
  424.  
  425. FFA sends a "hold pedal on" -command.
  426. FFB sends a "hold pedal off" -command.
  427.  
  428. CHANGE MIDI PRESET 1C
  429. Changes the MIDI preset number of the current instrument.  Use with caution in multi-modules.
  430.                                   
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.                                   114
  439.